package cn.itcast.hotel.repository;

import cn.itcast.hotel.pojo.HotelEs;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 * @description:
 * @author: HotelRepository
 * @time: 2022/6/16
 */
public interface HotelRepository extends ElasticsearchRepository<HotelEs,Long> {

    List<HotelEs> findByCity(String city);
}
